﻿using System;
using System.Collections.Generic;
using DataCenter.Share;

namespace DataCenter.Interface
{
    public delegate bool AdapterValueCallbackDelegate(string key, DateTime valueTime, TimeLine valueLine);
    public interface IAdapter : IComponent
    {
        bool Execute(ISource source, string[] keyArray, DateTime time0, DateTime time1);
        void GetValue(AdapterValueCallbackDelegate callback);
    }
}
